﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Javu2D;
namespace Javu2DExamples
{
    public class JavuSimpleBlitting : JavuGame
    {
        public JavuSimpleBlitting(){
            GameInfo = "A simple blitting test to gauage engine speed.\nThis can help determine general engine speed on any given set up.";
            CopyrightInfo = "(c)public domain forever.";
            GameName = "Simple Blitting.";
        }
        public override void GameStarted()
        {
            JavuDraw.SetClsColor(new OpenTK.Vector4(255.0f, 0.0f, 0.0f, 1.0f));
        }
        public override void GameUpdate()
        {
            
        }
        public override void GameRender()
        {
            
            
            Console.WriteLine("Cls'ing");
            JavuDraw.Cls();
            Console.WriteLine("Cls'ed");
            Console.WriteLine("Blit'ing");
            JavuDraw.FB.Blit();
            Console.WriteLine("Blit'ed");
        }
    }
}
